<?php
namespace BWL\webshopBundle\Entity;

class Period
{
  protected $from;

  protected $to;

  public function setFrom(\DateTime $from = null){
    $this->from = $from;
    return $this;
  }

  public function getFrom(){
    return $this->from;
  }

  public function setTo(\DateTime $to = null){
    $this->to = $to;
    return $this;
  }

  public function getTo(){
    return $this->to;
  }
}
